import { Component, OnInit } from '@angular/core';
import { ActivatedRoute,Params } from '@angular/router';
@Component({
  selector: 'app-seller',
  templateUrl: './seller.component.html',
  styleUrls: ['./seller.component.css']
})
export class SellerComponent implements OnInit {

  sellerid:number;
  constructor(private routeinfo:ActivatedRoute) { }

  ngOnInit() {
    this.routeinfo.params.subscribe((params:Params) => this.sellerid = params['id']);
  }

}
